package com.atlin.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * License内容
 */
@Data
public class LicenseContentVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    
    /**
     * 证书subject
     */
    private String subject;
    

    /**
     * 证书生效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date issuedTime;

    /**
     * 证书失效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expiryTime;
    

    /**
     * 描述信息
     */
    private String description = "";

    /**
     * 额外的信息
     */
    private LicenseCheckModel licenseCheckModel;
    
}
